![]() ![]() |
| The following review questions were covered in Labs 02
and 03 and are questions taken from the course website. NOT ALL questions
from the course website were discussed in lab. Please note that the information presented here does not necessarily represent a complete answer to the review question. The information is intended to spark student's memory for those who attended lab OR provide a base (hint) from where to start for those students who did not attend lab. | |||
1) Using Synonym Chaing 2) Using Coalesced Hashing Compare your results in terms of amount of work to load the tables as well as the average chain lengths. What are your conclusions? RECORD KEYS: 14,23,15,48,36,25,16,35,58,24,13 HASH FUNCTION: hash(key) = key mod 11 Assume an increment step size of 1 |
|||
![]() |
|||
![]() note: this image has been updated on Dec 9 |
|||
RECORD KEYS: 27,18,29,28,39,13,16,38,53 HASH FUNCTION: hash(key) = key mod 11 INCREMENT FUNCTION: increment(key) = Quotient(Key/11) mod 11 |
|||
![]() |
|||
![]() |
|||
Seperate overflow area in a 2-pass load. |
|||
Use a 2-pass load, this way unique home addresses are loaded first. |
|||
![]() |
| © Copyright 2002 |
| Questions? Please Email: gwen@cpsc.ucalgary.ca |
| Last modified December 9, 2002 |